package com.shjn.squirrel.bean.httpBean;

/**
 * 回收员支付请求参数
 */
public class PayReq {

    private String deviceId;//设备ID
    private String account;//手机号
    private int category;//垃圾类别
    private double weightOrCount;//重量或数量

    public PayReq() {
    }

    public PayReq(String deviceID, String account, int category, double weightOrCount) {
        this.deviceId = deviceID;
        this.account = account;
        this.category = category;
        this.weightOrCount = weightOrCount;
    }

    public String getDeviceID() {
        return deviceId;
    }

    public void setDeviceID(String deviceID) {
        this.deviceId = deviceID;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public double getWeightOrCount() {
        return weightOrCount;
    }

    public void setWeightOrCount(double weightOrCount) {
        this.weightOrCount = weightOrCount;
    }

    @Override
    public String toString() {
        return "PayReq{" +
                "deviceID='" + deviceId + '\'' +
                ", account='" + account + '\'' +
                ", category=" + category +
                ", weightOrCount=" + weightOrCount +
                '}';
    }
}
